package com.qike.duola.mapper;

import com.qike.duola.domain.DuolaApprovalType;
import com.qike.duola.domain.DuolaApprovalTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DuolaApprovalTypeMapper {
    long countByExample(DuolaApprovalTypeExample example);

    int deleteByExample(DuolaApprovalTypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DuolaApprovalType record);

    int insertSelective(DuolaApprovalType record);

    List<DuolaApprovalType> selectByExample(DuolaApprovalTypeExample example);

    DuolaApprovalType selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DuolaApprovalType record, @Param("example") DuolaApprovalTypeExample example);

    int updateByExample(@Param("record") DuolaApprovalType record, @Param("example") DuolaApprovalTypeExample example);

    int updateByPrimaryKeySelective(DuolaApprovalType record);

    int updateByPrimaryKey(DuolaApprovalType record);
}